Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subtraction underflow when sorting string arrays with many nulls #285

Merged
merged 1 commit into from
May 13, 2021

Conversation

medwards
Copy link
Contributor

@medwards medwards commented May 11, 2021

Rationale for this change

String arrays, boolean arrays, arrays of lists, and more follow a different code path than primitive arrays so updating to match #236

Are there any user-facing changes?

No.

@medwards medwards force-pushed the fix_sort_with_limit_string_arrays branch from ce2a822 to 2ebd0a6 Compare May 11, 2021 16:15
@jhorstmann
Copy link
Contributor

@alamb @jorgecarleitao This is a bugfix for an issue we had with sorting strings or dictionary encoded strings in our system, would be great to get a quick review

Copy link
Member

@jorgecarleitao jorgecarleitao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks a lot.

If I understand, this was similar to the bug in primitive types and it has the same resolution here. 👍

@medwards
Copy link
Contributor Author

If I understand, this was similar to the bug in primitive types and it has the same resolution here. +1

That's correct.

Copy link
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't review in a lot of detail, but I follow the approach

@alamb
Copy link
Contributor

alamb commented May 11, 2021

Thank you @medwards

@nevi-me nevi-me merged commit ce8e67c into apache:master May 13, 2021
@nevi-me
Copy link
Contributor

nevi-me commented May 13, 2021

Done @medwards @jhorstmann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants